package com.vichat.gps.entity;

import javax.persistence.Column;

/**  
 * @author 朱灏  E-mail: zhuhao@hfky.com  
 * @version 创建时间：2018-5-14 下午9:58:18  
 * @company 合肥开元埃尔软件
 * 类说明  
 */
public class LocationAlarm implements java.io.Serializable {
	
	@Column(name = "district_id")
	public int district_id;
	
	@Column(name = "district_code")
	public String district_code;

	@Column(name = "district_name")
	public String district_name;

	@Column(name = "district_type")
	public int district_type;
	
	@Column(name = "device_id")
	public String device_id;

	@Column(name = "zfcount")
	public int zfcount;

	@Column(name = "mjcount")
	public int mjcount;

	@Column(name = "zgcount")
	public int zgcount;

	@Column(name = "fkcount")
	public int fkcount;

	
	public String getDevice_id() {
		return device_id;
	}

	public void setDevice_id(Object device_id) {
		this.device_id = device_id.toString();
	}

	public int getDistrict_id() {
		return district_id;
	}

	public void setDistrict_id(int district_id) {
		this.district_id = district_id;
	}

	public String getDistrict_code() {
		return district_code;
	}

	public void setDistrict_code(String district_code) {
		this.district_code = district_code;
	}

	public String getDistrict_name() {
		return district_name;
	}

	public void setDistrict_name(String district_name) {
		this.district_name = district_name;
	}

	public int getDistrict_type() {
		return district_type;
	}

	public void setDistrict_type(int district_type) {
		this.district_type = district_type;
	}

	public int getZfcount() {
		return zfcount;
	}

	public void setZfcount(Object zfcount) {
		this.zfcount = Integer.valueOf(zfcount.toString());
	}

	public int getMjcount() {
		return mjcount;
	}

	public void setMjcount(Object mjcount) {
		this.mjcount = Integer.valueOf(mjcount.toString());
	}

	public int getZgcount() {
		return zgcount;
	}

	public void setZgcount(Object zgcount) {
		this.zgcount = Integer.valueOf(zgcount.toString());
	}

	public int getFkcount() {
		return fkcount;
	}

	public void setFkcount(Object fkcount) {
		this.fkcount = Integer.valueOf(fkcount.toString());
	}

	public LocationAlarm() {
	}

	public LocationAlarm(int district_id, String district_code, String district_name,String device_id,
			int district_type, int zfcount,int mjcount,int zgcount,int fkcount) {
		super();
		this.district_id=district_id;
		this.district_code=district_code;
		this.district_name=district_name;
		this.district_type=district_type;
		this.device_id=device_id;
		this.zfcount=zfcount;
		this.mjcount=mjcount;
		this.zgcount=zgcount;
		this.fkcount=fkcount;
	}
}
